-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Prevent 500 when there is an error during new auth source post #19041
Prevent 500 when there is an error during new auth source post #19041
Conversation
Fix go-gitea#19036 Signed-off-by: Andrew Thornton <art27@cantab.net>
Have you checked all the places in that templates? |
There is another bug reported in #19036 ( Steps:
I didn't know what's the proper way to handle the duplicated key check in Gitea. Should it use a separate SELECT to check? Or does XORM provide some error check mechanism to detect the error is caused by duplicated unique key? |
👍 |
Please create a new issue. |
* giteaofficial/main: Prevent 500 when there is an error during new auth source post (go-gitea#19041) Update the webauthn_credential_id_sequence in Postgres (go-gitea#19048) If rendering has failed due to a net.OpError stop rendering (attempt 2) (go-gitea#19049) use xorm builder for models.getReviewers() (go-gitea#19033) RSS/Atom support for Orgs (go-gitea#17714) Fix flag validation (go-gitea#19046) Improve SyncMirrors logging (go-gitea#19045)
…tea#19041) Backport go-gitea#19041 Fix go-gitea#19036 Signed-off-by: Andrew Thornton <art27@cantab.net>
…tea#19041) Fix go-gitea#19036 Signed-off-by: Andrew Thornton <art27@cantab.net>
Fix #19036
Signed-off-by: Andrew Thornton art27@cantab.net